<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>进度条</title>
    <style>
      div {
        height: 40px;
        border-radius: 50px;
      }
      .outer {
        width: 1000px;
        background-color: #ccc;
      }

      .outer .inner {
        width: 780px;
        line-height: 40px;
        color: #fff;
        font-weight: bolder;
        background-color: greenyellow;
        text-align: right;
        padding-right: 20px;
      }
    </style>
  </head>
  <body>
    <div class="outer">
      <div class="inner">80%</div>
    </div>
  </body>
</html>
